﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="Property.aspx.cs" Inherits="ServicesSheet_Property" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Titile" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" Runat="Server">
    <InfoLight:WebDataSource ID="Master" runat="server" AutoApply="True" WebDataSetID="WMaster" DataMember="Services_Property">
        </InfoLight:WebDataSource>
        <InfoLight:WebDataSource ID="WEmp" runat="server" SelectAlias="Usasdb" SelectCommand="SELECT     &#13;&#10;Employees.EmployeeID, &#13;&#10;Employees.EmpName, &#13;&#10;CompanyJob.JobName, &#13;&#10;Department.DepartmentName&#13;&#10;FROM         &#13;&#10;Employees INNER JOIN&#13;&#10;                      Department ON Employees.DepartmentId = Department.DepartmentId                   INNER JOIN&#13;&#10;                      CompanyJob ON Employees.JobId = CompanyJob.JobId&#13;&#10;WHERE     (Employees.EmpStatus = 1)">
        </InfoLight:WebDataSource>
        <InfoLight:WebDataSource ID="wdsState" runat="server" SelectAlias="Usasdb" SelectCommand="select &#13;&#10;Services_SV_RpState.stateId,&#13;&#10;Services_SV_RpState.stateName &#13;&#10;from &#13;&#10;Services_SV_RpState">
        </InfoLight:WebDataSource>
        <InfoLight:WebDataSource ID="wdsAppraise" runat="server" SelectAlias="Usasdb" SelectCommand="select Services_SV_Appraise.AppraiseId,Services_SV_Appraise.AppraiseName from Services_SV_Appraise">
        </InfoLight:WebDataSource>
        <InfoLight:WebDefault ID="WebDefault1" runat="server" DataMember="Services_Property"
            DataSourceID="Master">
            <Fields>
                <InfoLight:DefaultFieldItem DefaultValue="0" FieldName="rpId" />
                <InfoLight:DefaultFieldItem DefaultValue="GetEmpId()" FieldName="empId" />
            </Fields>
        </InfoLight:WebDefault>
        <InfoLight:WebValidate ID="WebValidate1" runat="server" AltRowCss="" DataMember="Services_Property"
            DataSourceID="Master" ForeColor="Red" RowCss=""><Fields>
<InfoLight:ValidateFieldItem FieldName="rpName" CheckNull="True"></InfoLight:ValidateFieldItem>
</Fields>
</InfoLight:WebValidate>

      <FLTools:FLWebNavigator ID="FLWebNavigator1" runat="server" BindingObject="WebFormView1"
            CtlHeight="25" ShowDataStyle="FormViewStyle" 
        StatusStrip="WebStatusStrip1" AutoSubmit="True" CssClass="NavigatorBar" 
        Width="100%">
            <NavControls>
                <InfoLight:ControlItem ControlName="Add" ControlText="add" ControlType="Image" ControlVisible="True"
                    DisenableImageUrl="../Image/UIPics/Add3_C.gif" ImageUrl="../Image/UIPics/Add_C.gif"
                    MouseOverImageUrl="../Image/UIPics/Add2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Update" ControlText="update" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="../Image/UIPics/Edit3_C.gif" ImageUrl="../Image/UIPics/Edit_C.gif"
                    MouseOverImageUrl="../Image/UIPics/Edit2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Delete" ControlText="delete" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="../Image/UIPics/Delete3_C.gif" ImageUrl="../Image/UIPics/Delete_C.gif"
                    MouseOverImageUrl="../Image/UIPics/Delete2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Apply" ControlType="Image" ControlVisible="True"
                    DisenableImageUrl="../Image/UIPics/Apply3_C.gif" ImageUrl="../Image/UIPics/Apply_C.gif"
                    MouseOverImageUrl="../Image/UIPics/Apply2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Abort" ControlType="Image" ControlVisible="True"
                    DisenableImageUrl="../Image/UIPics/Abort3_C.gif" ImageUrl="../Image/UIPics/Abort_C.gif"
                    MouseOverImageUrl="../Image/UIPics/Abort2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Query" ControlText="query" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="../image/uipics/Query3_C.gif" ImageUrl="../image/uipics/Query_C.gif"
                    MouseOverImageUrl="../image/uipics/Query2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Submit" ControlText="submit" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="" ImageUrl="../image/uipics/Submit_C.gif"
                    MouseOverImageUrl="../image/uipics/Submit2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Approve" ControlText="approve" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="" ImageUrl="../Image/UIPics/Approve_C.gif"
                    MouseOverImageUrl="../Image/UIPics/Approve2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Return" ControlText="return" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="" ImageUrl="../image/uipics/Return_C.gif"
                    MouseOverImageUrl="../image/uipics/Return2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Reject" ControlText="reject" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="" ImageUrl="../image/uipics/Reject_C.gif"
                    MouseOverImageUrl="../image/uipics/Reject2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Notify" ControlText="notify" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="" ImageUrl="../image/uipics/Notify_C.gif"
                    MouseOverImageUrl="../image/uipics/Notify2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="FlowDelete" ControlText="flowdelete" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="" ImageUrl="../image/uipics/FlowDelete_C.gif"
                    MouseOverImageUrl="../image/uipics/FlowDelete2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Plus" ControlText="plus" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="" ImageUrl="../image/uipics/Plus_C.gif"
                    MouseOverImageUrl="../image/uipics/Plus2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Pause" ControlText="pause" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="" ImageUrl="../image/uipics/Pause_C.gif"
                    MouseOverImageUrl="../image/uipics/Pause2_C.gif" Size="48">
                </InfoLight:ControlItem>
                <InfoLight:ControlItem ControlName="Comment" ControlText="comment" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="" ImageUrl="../image/uipics/Comment_C.gif"
                    MouseOverImageUrl="../image/uipics/Comment2_C.gif" Size="48">
                </InfoLight:ControlItem>
            </NavControls>
            <FLStates>
                <FLTools:FLWebNavigatorStateItem StateText="Approve" VisibleControls="Approve;Return;Notify;Comment" />
                <FLTools:FLWebNavigatorStateItem StateText="Continue" VisibleControls="Submit;Notify;Comment" />
                <FLTools:FLWebNavigatorStateItem StateText="Inquery" VisibleControls="Comment" />
                <FLTools:FLWebNavigatorStateItem StateText="Notify" VisibleControls="Notify;FlowDelete;Comment" />
                <FLTools:FLWebNavigatorStateItem StateText="Return" VisibleControls="Submit;Reject;Notify" />
                <FLTools:FLWebNavigatorStateItem StateText="Submit" VisibleControls="Submit;Notify;Pause" />
                <FLTools:FLWebNavigatorStateItem StateText="None" VisibleControls="" />
                <FLTools:FLWebNavigatorStateItem StateText="Plus" VisibleControls="Approve;Notify;Comment" />
                <FLTools:FLWebNavigatorStateItem StateText="Lock" VisibleControls="Notify" />
                <FLTools:FLWebNavigatorStateItem StateText="FSubmit" VisibleControls="Submit;Notify" />
                <FLTools:FLWebNavigatorStateItem StateText="RSubmit" VisibleControls="Submit;Return;Notify" />
            </FLStates>
            <NavStates>
                <InfoLight:WebNavigatorStateItem EnableControls="First;Previous;Next;Last;Add;Update;Delete;Query;Print;Export"
                    StateText="Initial">
                </InfoLight:WebNavigatorStateItem>
                <InfoLight:WebNavigatorStateItem EnableControls="First;Previous;Next;Last;Add;Update;Delete;Query;Print;Export"
                    StateText="Browsed">
                </InfoLight:WebNavigatorStateItem>
                <InfoLight:WebNavigatorStateItem EnableControls="OK;Cancel;Apply;Abort" StateText="Inserting">
                </InfoLight:WebNavigatorStateItem>
                <InfoLight:WebNavigatorStateItem EnableControls="OK;Cancel;Apply;Abort" StateText="Editing">
                </InfoLight:WebNavigatorStateItem>
                <InfoLight:WebNavigatorStateItem EnableControls="" StateText="Applying">
                </InfoLight:WebNavigatorStateItem>
                <InfoLight:WebNavigatorStateItem EnableControls="First;Previous;Next;Last;Add;Update;Delete;Apply;Abort;Export"
                    StateText="Changing">
                </InfoLight:WebNavigatorStateItem>
                <InfoLight:WebNavigatorStateItem EnableControls="" StateText="Querying">
                </InfoLight:WebNavigatorStateItem>
                <InfoLight:WebNavigatorStateItem EnableControls="" StateText="Printing">
                </InfoLight:WebNavigatorStateItem>
                <InfoLight:WebNavigatorStateItem EnableControls="" StateText="Normal">
                </InfoLight:WebNavigatorStateItem>
                <InfoLight:WebNavigatorStateItem EnableControls="Add" StateText="Insert">
                </InfoLight:WebNavigatorStateItem>
                <InfoLight:WebNavigatorStateItem EnableControls="Update" StateText="Modify">
                </InfoLight:WebNavigatorStateItem>
                <InfoLight:WebNavigatorStateItem EnableControls="Query" StateText="Inquery">
                </InfoLight:WebNavigatorStateItem>
                <InfoLight:WebNavigatorStateItem EnableControls="Query;Update" StateText="Prepare">
                </InfoLight:WebNavigatorStateItem>
            </NavStates>
        </FLTools:FLWebNavigator>
        
        
           <InfoLight:WebFormView ID="WebFormView1" runat="server" DataSourceID="Master" BackColor="Silver" BorderColor="White"
            BorderStyle="Groove" BorderWidth="2px" CellPadding="4"
            ForeColor="#333333" Height="87px" LayOutColNum="2" Width="100%">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#EFF3FB" ForeColor="Navy" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <InsertRowStyle BackColor="LightCyan" ForeColor="Blue" />
            <EditRowStyle BackColor="LightCyan" ForeColor="Blue" />
            <EditItemTemplate>
            <fieldset><legend>维修申请：</legend>
                <table class='container_table' style="width: 474px">
                <tr>
                    <td>
                        <asp:Label ID="CaptionrpId" runat="server" Text="编码:"></asp:Label>
                    </td>
                    <td style="width: 188px">
                        <asp:TextBox ID="rpIdTextBox" runat="server" Text='<%# Bind("rpId") %>' Width="151px" BackColor="#E0E0E0"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="CaptionrpName" runat="server" Text="名称*:" Width="62px" ForeColor="Red"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="rpNameTextBox" runat="server" Text='<%# Bind("rpName") %>' Width="151px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="height: 26px">
                        <asp:Label ID="CaptionempId" runat="server" Text="员工编码:"></asp:Label>
                    </td>
                    <td style="width: 188px; height: 26px">
                        <InfoLight:WebRefVal ID="wrvEmp" runat="server" AllowAddData="False" BindingText=""
                            BindingValue='<%# Bind("empId") %>' ButtonImageUrl="../Image/refval/RefVal.gif"
                            DataBindingField="empId" DataSourceID="WEmp" DataTextField="EmpName" DataValueField="EmployeeID"
                            MultiLanguage="False" PostBackButonClick="False" ReadOnly="True" ResxDataSet=""
                            ResxFilePath="" UpdatePanelID="" UseButtonImage="True" Width="151px">
                        </InfoLight:WebRefVal>
                    </td>
                    <td style="height: 26px">
                        <asp:Label ID="Label1" runat="server" Text="部门名称:"></asp:Label></td>
                    <td style="height: 26px">
                        <InfoLight:WebRefVal ID="wrvDepart" runat="server" AllowAddData="False" BindingText=""
                            ButtonImageUrl="../Image/refval/RefVal.gif" DataBindingField="empId" DataSourceID="WEmp"
                            DataTextField="DepartmentName" DataValueField="EmployeeID" MultiLanguage="False"
                            PostBackButonClick="False" ReadOnly="True" ResxDataSet="" ResxFilePath="" UpdatePanelID=""
                            UseButtonImage="True" Width="151px" BackColor="Silver">
                        </InfoLight:WebRefVal>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="CaptionrpDetails" runat="server" Text="内容:" Width="67px"></asp:Label></td>
                    <td colspan="3">
                        <asp:TextBox ID="rpDetailsTextBox" runat="server" Height="73px" Text='<%# Bind("rpDetails") %>'
                            TextMode="MultiLine" Width="448px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="height: 29px">
                        <asp:Label ID="CaptionReMark" runat="server" Text="备注:"></asp:Label></td>
                    <td style="height: 29px" colspan="3">
                        <asp:TextBox ID="ReMarkTextBox" runat="server" Text='<%# Bind("ReMark") %>' Width="449px"></asp:TextBox></td>
                </tr>
            </table>
            </fieldset>
            </EditItemTemplate>
            <InsertItemTemplate>
            <fieldset><legend>维修申请：</legend>
                <table class='container_table' style="width: 474px">
                    <tr>
                        <td>
                            <asp:Label ID="CaptionrpId" runat="server" Text="编码:"></asp:Label>
                        </td>
                        <td style="width: 188px">
                            <asp:TextBox ID="rpIdTextBox" runat="server" Text='<%# Bind("rpId") %>' Width="151px" BackColor="#E0E0E0" ReadOnly="True"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Label ID="CaptionrpName" runat="server" Text="名称*:" Width="62px" ForeColor="Red"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="rpNameTextBox" runat="server" Text='<%# Bind("rpName") %>' Width="151px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 26px">
                            <asp:Label ID="CaptionempId" runat="server" Text="员工编码:"></asp:Label>
                        </td>
                        <td style="width: 188px; height: 26px">
                            <InfoLight:WebRefVal ID="wrvEmp" runat="server" AllowAddData="False" BindingText=""
                                BindingValue='<%# Bind("empId") %>' ButtonImageUrl="../Image/refval/RefVal.gif"
                                DataBindingField="empId" DataSourceID="WEmp" DataTextField="EmpName" DataValueField="EmployeeID"
                                MultiLanguage="False" PostBackButonClick="False" ReadOnly="True" ResxDataSet=""
                                ResxFilePath="" UpdatePanelID="" UseButtonImage="True" Width="151px">
                            </InfoLight:WebRefVal>
                        </td>
                        <td style="height: 26px">
                            <asp:Label ID="Label1" runat="server" Text="部门名称:"></asp:Label></td>
                        <td style="height: 26px">
                            <InfoLight:WebRefVal ID="wrvDepart" runat="server" AllowAddData="False" BindingText=""
                                ButtonImageUrl="../Image/refval/RefVal.gif" DataBindingField="empId" DataSourceID="WEmp"
                                DataTextField="DepartmentName" DataValueField="EmployeeID" MultiLanguage="False"
                                PostBackButonClick="False" ReadOnly="True" ResxDataSet="" ResxFilePath="" UpdatePanelID=""
                                UseButtonImage="True" Width="151px" BackColor="Silver">
                            </InfoLight:WebRefVal>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="CaptionrpDetails" runat="server" Text="内容:" Width="67px"></asp:Label></td>
                        <td colspan="3">
                            <asp:TextBox ID="rpDetailsTextBox" runat="server" Height="73px" Text='<%# Bind("rpDetails") %>'
                                TextMode="MultiLine" Width="448px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="height: 29px">
                            <asp:Label ID="CaptionReMark" runat="server" Text="备注:"></asp:Label></td>
                        <td style="height: 29px" colspan="3">
                            <asp:TextBox ID="ReMarkTextBox" runat="server" Text='<%# Bind("ReMark") %>' Width="449px"></asp:TextBox></td>
                    </tr>
                </table>            
            </fieldset>
            </InsertItemTemplate>
            <ItemTemplate>
            <fieldset>
                <legend>维修申请：</legend>
                <table class='container_table' style="width: 474px">
                <tr>
                    <td style="width: 70px">
                        <asp:Label ID="CaptionrpId" runat="server" Text="编码:"></asp:Label>
                    </td>
                    <td style="width: 188px">
                        <asp:TextBox ID="rpIdTextBox" runat="server" ReadOnly="True" Text='<%# Bind("rpId") %>'
                            Width="151px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="CaptionrpName" runat="server" Text="名称:" Width="62px"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="rpNameTextBox" runat="server" ReadOnly="True" Text='<%# Bind("rpName") %>'
                            Width="151px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="height: 26px; width: 70px;">
                        <asp:Label ID="CaptionempId" runat="server" Text="员工编码:"></asp:Label>
                    </td>
                    <td style="width: 188px; height: 26px">
                        <InfoLight:WebRefVal ID="wrvEmp" runat="server" AllowAddData="False" BindingText=""
                            BindingValue='<%# Bind("empId") %>' ButtonImageUrl="../Image/refval/RefVal.gif"
                            DataBindingField="empId" DataSourceID="WEmp" DataTextField="EmpName" DataValueField="EmployeeID"
                            MultiLanguage="False" PostBackButonClick="False" ReadOnly="True" ResxDataSet=""
                            ResxFilePath="" UpdatePanelID="" UseButtonImage="True" Width="151px">
                        </InfoLight:WebRefVal>
                    </td>
                    <td style="height: 26px">
                        <asp:Label ID="Label1" runat="server" Text="部门名称:"></asp:Label></td>
                    <td style="height: 26px">
                        <InfoLight:WebRefVal ID="wrvDepart" runat="server" AllowAddData="False" BindingText=""
                            BindingValue='<%# Bind("empId") %>' ButtonImageUrl="../Image/refval/RefVal.gif"
                            DataBindingField="empId" DataSourceID="WEmp" DataTextField="DepartmentName" DataValueField="EmployeeID"
                            MultiLanguage="False" PostBackButonClick="False" ReadOnly="True" ResxDataSet=""
                            ResxFilePath="" UpdatePanelID="" UseButtonImage="True" Width="151px">
                        </InfoLight:WebRefVal>
                    </td>
                </tr>
                <tr>
                    <td style="width: 70px">
                        <asp:Label ID="CaptionrpDetails" runat="server" Text="内容:" Width="67px"></asp:Label></td>
                    <td colspan="3">
                        <asp:TextBox ID="rpDetailsTextBox" runat="server" Height="73px" ReadOnly="True" Text='<%# Bind("rpDetails") %>'
                            TextMode="MultiLine" Width="448px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="height: 29px; width: 70px;">
                        <asp:Label ID="CaptionReMark" runat="server" Text="备注:"></asp:Label></td>
                    <td style="height: 29px" colspan="3">
                        <asp:TextBox ID="ReMarkTextBox" runat="server" ReadOnly="True" Text='<%# Bind("ReMark") %>'
                            Width="449px"></asp:TextBox></td>
                </tr>
            </table>
            </fieldset>
            </ItemTemplate>
            <Fields>
                <InfoLight:FormViewField ControlID="rpIdTextBox" FieldName="rpId" />
                <InfoLight:FormViewField ControlID="wrvEmp" FieldName="empId" />
            </Fields>
        </InfoLight:WebFormView>
        <InfoLight:WebFormView ID="WebFormView2" runat="server" DataSourceID="Master" BackColor="Silver" BorderColor="White"
            BorderStyle="Groove" BorderWidth="2px" CellPadding="4"
            ForeColor="#333333" Height="87px" LayOutColNum="2" Width="100%" OnItemCommand="WebFormView2_ItemCommand">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#EFF3FB" ForeColor="Navy" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <InsertRowStyle BackColor="LightCyan" ForeColor="Blue" />
            <EditRowStyle BackColor="LightCyan" ForeColor="Blue" />
            <EditItemTemplate>
            <fieldset>
                <legend>维修结果：</legend>
                <table class='container_table' style="width: 474px">
                <tr>
                    <td style="height: 26px">
                        <asp:Label ID="CaptionrpId" runat="server" Text="维修记录:" Width="67px"></asp:Label>
                    </td>
                    <td colspan="3" style="height: 26px">
                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("rpRecord") %>' Width="445px"></asp:TextBox></td>
                    <td style="width: 109px; height: 26px;">
                        </td>
                </tr>
                <tr>
                    <td style="height: 26px">
                        <asp:Label ID="CaptionrpName" runat="server" Text="费用(元):" Width="62px"></asp:Label></td>
                    <td style="width: 194px; height: 26px">
                        <asp:TextBox ID="rpNameTextBox" runat="server" Width="144px" Text='<%# Bind("rpCharge") %>'></asp:TextBox></td>
                    <td style="width: 65px; height: 26px">
                    </td>
                    <td style="width: 139px; height: 26px">
                        &nbsp;</td>
                    <td style="width: 109px; height: 26px">
                    </td>
                </tr>
                    <tr>
                        <td style="height: 26px">
                        </td>
                        <td style="width: 194px; height: 26px">
                        <asp:Button ID="btnUpdate" runat="server" Text="更新" Width="45px" CommandName="Save" /><asp:Button ID="btnCancel"
                            runat="server" Text="取消" CommandName="Cancel" /></td>
                        <td style="width: 65px; height: 26px">
                        </td>
                        <td style="width: 139px; height: 26px">
                        <asp:HiddenField ID="HiddenField1" runat="server" Value='<%# Bind("rpId") %>' />
                        </td>
                        <td style="width: 109px; height: 26px">
                        </td>
                    </tr>
            </table>
            </fieldset>
            </EditItemTemplate>
            <ItemTemplate>
            <fieldset>
                <legend>维修结果：</legend>            
                <table class='container_table' style="width: 518px">
                    <tr>
                        <td style="height: 26px">
                            <asp:Label ID="CaptionrpId" runat="server" Text="维修记录:" Width="67px"></asp:Label>
                        </td>
                        <td colspan="6" style="height: 26px">
                            <asp:TextBox ID="TextBox2" runat="server" ReadOnly="True" Text='<%# Bind("rpRecord") %>'
                                Width="445px"></asp:TextBox>&nbsp;</td>
                    </tr>
                    <tr>
                        <td style="height: 26px">
                            <asp:Label ID="CaptionrpName" runat="server" Text="费用(元):" Width="62px"></asp:Label></td>
                        <td colspan="2" style="height: 26px">
                            <asp:TextBox ID="rpNameTextBox" runat="server" ReadOnly="True" Width="148px" Text='<%# Bind("rpCharge") %>'></asp:TextBox></td>
                        <td style="width: 92px; height: 26px">
                        </td>
                        <td style="width: 316px; height: 26px">
                        </td>
                        <td style="width: 392px; height: 26px">
                        </td>
                        <td style="width: 392px; height: 26px">
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 26px">
                            </td>
                        <td colspan="2" style="height: 26px">
                            <asp:Button ID="btnEdit" runat="server" Text="编辑" Width="45px" CommandName="Edit" />
                            &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
                        </td>
                        <td style="width: 92px; height: 26px">
                            <asp:Button ID="btnFinishRep" runat="server" OnClick="btnFinishRep_Click" Text="维修完成提交" /></td>
                        <td style="width: 316px; height: 26px;">
                        </td>
                        <td style="width: 392px; height: 26px;">
                        </td>
                        <td style="width: 392px; height: 26px">
                        </td>
                    </tr>
                </table>
            </fieldset>
            </ItemTemplate>
        </InfoLight:WebFormView>
        <InfoLight:WebFormView ID="WebFormView3" runat="server" DataSourceID="Master" BackColor="Silver" BorderColor="White"
            BorderStyle="Groove" BorderWidth="2px" CellPadding="4"
            ForeColor="#333333" Height="87px" LayOutColNum="2" Width="100%" OnItemCommand="WebFormView3_ItemCommand">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#EFF3FB" ForeColor="Navy" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <InsertRowStyle BackColor="LightCyan" ForeColor="Blue" />
            <EditRowStyle BackColor="LightCyan" ForeColor="Blue" />
            <EditItemTemplate>
            <fieldset>
            <legend>维修反馈：</legend>
            
            <table class='container_table' style="width: 474px">
                <tr>
                    <td style="width: 14px">
                        <asp:Label ID="CaptionrpId" runat="server" Text="反馈:" Width="67px"></asp:Label>
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="TextBox1" runat="server" Height="64px" TextMode="MultiLine" Width="444px" Text='<%# Bind("rpFeedback") %>'></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 14px">
                        <asp:Label ID="CaptionrpName" runat="server" Text="评价:" Width="62px"></asp:Label>
                    </td>
                    <td style="width: 139px"><InfoLight:WebDropDownList ID="WebDropDownList2" runat="server" AutoInsertEmptyData="False"
                                DataSourceID="wdsAppraise" DataTextField="AppraiseName" DataValueField="AppraiseId"
                                DriverObject="" Filter="" FilterObject="" OnlyShowSelectText="False"
                                SelectedValue='<%# Bind("rpAppraise") %>' Width="129px">
                    </InfoLight:WebDropDownList></td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td style="width: 14px">
                    </td>
                    <td>
                        <asp:Button ID="btnUpdate" runat="server" Text="更新" Width="45px" CommandName="Update" />
                        <asp:Button ID="btnCancel" runat="server" Text="取消" Width="45px" CommandName="Cancel" />
                        <asp:HiddenField ID="HiddenField1" runat="server" Value='<%# Bind("rpId") %>' />
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
            </fieldset>
            </EditItemTemplate>
            <ItemTemplate>
            <fieldset>
                <legend>维修反馈：</legend>
                <table class='container_table' style="width: 474px">
                    <tr>
                        <td style="width: 14px">
                            <asp:Label ID="CaptionrpId" runat="server" Text="反馈:" Width="67px"></asp:Label>
                        </td>
                        <td colspan="3">
                            <asp:TextBox ID="TextBox1" runat="server" Height="64px" ReadOnly="True" TextMode="MultiLine"
                                Width="444px" Text='<%# Bind("rpFeedback") %>'></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 14px; height: 22px;">
                            <asp:Label ID="CaptionrpName" runat="server" Text="评价:" Width="62px"></asp:Label>
                        </td>
                        <td style="width: 139px; height: 22px;">
                            <InfoLight:WebDropDownList ID="WebDropDownList2" runat="server" AutoInsertEmptyData="False"
                                DataSourceID="wdsAppraise" DataTextField="AppraiseName" DataValueField="AppraiseId"
                                DriverObject="" Enabled="False" Filter="" FilterObject="" OnlyShowSelectText="True"
                                SelectedValue='<%# Bind("rpAppraise") %>' Width="129px">
                            </InfoLight:WebDropDownList></td>
                        <td style="height: 22px">
                        </td>
                        <td style="height: 22px">
                        </td>
                    </tr>
                    <tr id="trTest" runat="server">
                        <td style="width: 14px">
                        </td>
                        <td>
                            <asp:Button ID="btnEdit" runat="server" Text="编辑" Width="45px" CommandName="Edit" />
                            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                            <asp:Button ID="btnFinishFQ" runat="server" OnClick="btnFinishFQ_Click" Text="提交维修反馈"
                                Width="112px" /></td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </fieldset>
            </ItemTemplate>
        </InfoLight:WebFormView>
</asp:Content>

